﻿#region usings
using System;
using System.Collections.ObjectModel;
using System.Windows.Media;
using Papa.Common;
#endregion

namespace InsuranceAdjuster.Common.Models {
    public class BranchStyle : NotifiableObject {
        public BranchStyle() {
            // Set some default values
            this.HeadingBackgroundColor = "#FFFFC800";
            this.HeadingForegroundColor = "#FF000000";
            this.ForegroundColor = "#FFFFC800";
            this.BackgroundColor = "#FF000000";
            this.BranchFont = "Segoe";
        }

        private string _backgroundColor;
        public string BackgroundColor {
            get { return _backgroundColor; }
            set {
                if (value != _backgroundColor) {
                    _backgroundColor = value;
                    RaisePropertyChanged("BackgroundColor");
                }
            }
        }

        private string _foregroundColor;
        public string ForegroundColor {
            get { return _foregroundColor; }
            set {
                if (value != _foregroundColor) {
                    _foregroundColor = value;
                    RaisePropertyChanged("ForegroundColor");
                }
            }
        }
        private string _headingBackgroundColor;
        public string HeadingBackgroundColor {
            get { return _headingBackgroundColor; }
            set {
                if (value != _headingBackgroundColor) {
                    _headingBackgroundColor = value;
                    RaisePropertyChanged("HeadingBackgroundColor");
                }
            }
        }

        private string _headingForegroundColor;
        public string HeadingForegroundColor {
            get { return _headingForegroundColor; }
            set {
                if (value != _headingForegroundColor) {
                    _headingForegroundColor = value;
                    RaisePropertyChanged("HeadingForegroundColor");
                }
            }
        }

        private string _branchFont;
        public string BranchFont {
            get { return _branchFont; }
            set {
                if (value != _branchFont) {
                    _branchFont = value;
                    RaisePropertyChanged("BranchFont");
                }
            }
        }
    }
}
